#ifndef __DIN_H
#define __DIN_H

#include <devices/gpio.h>

struct dindev {
		struct gpiodev* gpiodev[6];
};

extern struct dindev*
	dindev_construct(
		void);

extern void
	dindev_deconstruct(
		struct dindev *dev);

extern int
	dindev_getval(
		struct dindev *dev, int num);

#endif
